/* 
 <div class="yb-modal-wrapper">
   <div class="yb-modal-container">
     <div class="yb-modal">
       <div class="yb-modal-header-container">
         <div class="yb-modal-title-container">这些写标题</div>
         <span class="yb-modal-close"></span>
       </div>
       <div class="yb-modal-body">
         这是写内容
       </div>
       <div class="yb-modal-footer">
         <button class="yb-button" type="green">测试</button>
         <button class="yb-button" type="gray">确定</button>
         <button class="yb-button" type="plain">恢复默认</button>
         <button class="yb-button" type="text">文字</button>
       </div>
     </div>
   </div>
 </div>
 */


.yb-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
}

.yb-modal-wrapper>.yb-modal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.yb-modal-wrapper>.yb-modal-container .yb-modal {
  min-width: 100px;
  max-width: 1000px;
  box-shadow: 0px 2px 13px 0px rgba(154, 166, 171, 0.65);
  background-color: #FFFFFF;
}

.yb-modal-wrapper>.yb-modal-container .yb-modal-header-container {
  min-height: 44px;
  padding: 0 20px;
  background-color: #EEEEEE;
  display: flex;
  align-items: center;
}

.yb-modal-wrapper>.yb-modal-container .yb-modal-header-container .yb-modal-title-container {
  font-size: 16px;
  color: #8D8D8D;
  flex: 1;
}

.yb-modal-wrapper>.yb-modal-container .yb-modal-header-container .yb-modal-close::before {
  content: "\eaf2";
  font-family: "iconfont" !important;
  font-size: 24px;
  color: #5E5E5E;
  cursor: pointer;
  display: inline-block;
  width: 40px;
  text-align: right;
}

.yb-modal-wrapper>.yb-modal-container .yb-modal-body {
  padding: 21px 20px;
  max-height: 400px;
  overflow: auto;
}

.yb-modal-wrapper>.yb-modal-container .yb-modal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  box-shadow: 0px 2px 13px 0px rgba(154, 166, 171, 0.65);
  border-radius: 0 0 4px 4px;
}